<?php

namespace app\modules\user\controllers;

use app\common\controllers\AccessController;
use app\modules\user\services\HomeService;

class HomeController extends AccessController{

    //获取登陆者信息
    public function actionUser(){
        return HomeService::userInfo() ;
    }
}